package com.fund.product.pojo.entity;

import com.fund.common.enums.TradeType;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ShareFlow {
    private Long id;
    //基金id
    private Long fundId;
    //客户id
    private Long clientId;
    //银行卡id
    private Long cardId;
    //变化后的份额
    private int newShare;
    //变化的值
    private int changeValue;
    //变化类型，是申购还是赎回（即变多还是变少）
    private TradeType changeType;
    //交易时间
    private LocalDateTime tradeTime;
    //份额确认变化时间
    private LocalDateTime changeTime;
    //操作员id
    private Long operatorId;
}
